package cn.itlaobing.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.itlaobing.dao.AccountDao;
import cn.itlaobing.entity.Account;
import cn.itlaobing.service.AccountService;
@Service
public class AccountServiceImpl implements AccountService {

	@Autowired
	private AccountDao accountDao;
	
	
	@Override
	public List<Account> findAcc(String username) {
		System.out.println("111111111111111111");
		
		if(accountDao==null ){
			System.out.println("2222222222");
		}
		return 	accountDao.findAccount(username);
	}

}
